package models

// Hongniangpoints undefined
type Hongniangpoints struct {
	ID          int64  `json:"id" gorm:"id"`
	Hongniangid int64  `json:"hongniangid" gorm:"hongniangid"`
	Points      int64  `json:"points" gorm:"points"`
	Addtime     int64  `json:"addtime" gorm:"addtime"`
	Title       string `json:"title" gorm:"title"`
	State       int64  `json:"state" gorm:"state"` //1签到 2完单 3录入 4接单
}

// TableName 表名称
func (*Hongniangpoints) TableName() string {
	return "hongniangpoints"
}

// Hongniangqiandao undefined
type Hongniangqiandao struct {
	ID          int64 `json:"id" gorm:"id"`
	Hongniangid int64 `json:"hongniangid" gorm:"hongniangid"`
	Daytime     int64 `json:"daytime" gorm:"daytime"`
}

// TableName 表名称
func (*Hongniangqiandao) TableName() string {
	return "hongniangqiandao"
}
